﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using Acando.Dynamics.CRM.Silverlight.Library.Types;

namespace RiaCrm.Sitemap
{
    public partial class TreeViewNode : UserControl
    {
        public Boolean IsTopLeadNode
        {
            set { throw new InvalidOperationException();}
            get { return  (this.DataContext as TreeNode).isTopLead; }
        }

        public TreeViewNode()
        {
            InitializeComponent();
        }
    }
}
